package com.example.automanagement.mapper;

import com.example.automanagement.entity.BusinessMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BusinessMenuMapper {
    List<BusinessMenu> getBusinessMenu();

    void addBusinessMenu(@Param("businessMenuAdd") BusinessMenu businessMenu);

    void updateBusinessMenu(@Param("businessMenuUpdate") BusinessMenu businessMenu);

    void deleteBusinessMenu(@Param("businessIdDelete") int businessId);
}
